#include "stdafx.h"
#include "BaseObject.h"

CBaseObject::CBaseObject(b2World* world) : m_pB2Body(NULL)
,m_pB2World(world)
,m_fDensity(-30001.f)
,m_Friction(-30001.f)
,m_Restitution(-30001.f)
,m_Color(255, 0, 255, 255)
{}

CBaseObject::~CBaseObject()
{}

void CBaseObject::Initialize()
{}

void CBaseObject::Draw()
{}

void CBaseObject::GenB2()
{}


void CBaseObject::SetDensity(float density)
{
	m_fDensity = density;
}

void CBaseObject::SetFriction(float friction)
{
	m_Friction = friction;
}

void CBaseObject::SetRestitution(float restitution)
{
	m_Restitution = restitution;
}

void CBaseObject::SetColor(video::SColor& color)
{
	m_Color = color;
}

enum ObjectType CBaseObject::GetType()
{
	return m_eType;
}